package com.tekj.cxqcb.operation.resultBean;

import java.util.List;

/**
 * description
 * Created by JustTong on 2018/12/4.
 */
public class TestBean {

    /**
     * errcode : 1
     * message : 分类接口正常
     * data : [{"id":2,"title":"全球优选","tlist2":[{"id":14,"title":"洗洁2","image":"http://cyc.doing365.com/public/upload/category/2018/09-18/c403f7f8bbea79902a30a186b1f7a722.png"},{"id":10,"title":"沐浴露","image":"http://cyc.doing365.com/public/upload/category/2018/07-05/03dddccbf80beda160ee4a272f6f4a83.png"},{"id":11,"title":"护发素","image":"http://cyc.doing365.com/public/upload/category/2018/07-05/7a97b155c83df3438d7adb11b0a0f8f7.png"},{"id":12,"title":"洗衣液","image":"http://cyc.doing365.com/public/upload/category/2018/07-05/74c3cd9ffe0f6c8f3faabdb431a524c7.png"},{"id":27,"title":"测试","image":"http://cyc.doing365.com/public/upload/category/2018/09-08/daf22fcb97be3997a070293d9099782a.jpg"}]},{"id":3,"title":"医疗服务","tlist2":[]},{"id":4,"title":"养生保健","tlist2":[]},{"id":5,"title":"个人护理","tlist2":[{"id":9,"title":"洗发水","image":"http://cyc.doing365.com/public/upload/category/2018/07-05/8e2e50b45e18053659e378b88fb52cd3.png"},{"id":16,"title":"化妆品","image":"http://cyc.doing365.com/public/upload/category/2018/08-01/76f01dce8ffdecb81c2230292709c2d5.png"}]},{"id":7,"title":"健康厨房","tlist2":[{"id":34,"title":"厨具","image":"http://cyc.doing365.com/public/upload/category/2018/09-21/40e5f89bba02cdb2b3ca76789b822394.png"}]},{"id":6,"title":"优选家具","tlist2":[]}]
     */

    private int errcode;
    private String message;
    private List<DataBean> data;

    public int getErrcode() {
        return errcode;
    }

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * title : 全球优选
         * tlist2 : [{"id":14,"title":"洗洁2","image":"http://cyc.doing365.com/public/upload/category/2018/09-18/c403f7f8bbea79902a30a186b1f7a722.png"},{"id":10,"title":"沐浴露","image":"http://cyc.doing365.com/public/upload/category/2018/07-05/03dddccbf80beda160ee4a272f6f4a83.png"},{"id":11,"title":"护发素","image":"http://cyc.doing365.com/public/upload/category/2018/07-05/7a97b155c83df3438d7adb11b0a0f8f7.png"},{"id":12,"title":"洗衣液","image":"http://cyc.doing365.com/public/upload/category/2018/07-05/74c3cd9ffe0f6c8f3faabdb431a524c7.png"},{"id":27,"title":"测试","image":"http://cyc.doing365.com/public/upload/category/2018/09-08/daf22fcb97be3997a070293d9099782a.jpg"}]
         */
        private int id;
        private String title;
        private List<Tlist2Bean> tlist2;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<Tlist2Bean> getTlist2() {
            return tlist2;
        }

        public void setTlist2(List<Tlist2Bean> tlist2) {
            this.tlist2 = tlist2;
        }

        public static class Tlist2Bean {
            /**
             * id : 14
             * title : 洗洁2
             * image : http://cyc.doing365.com/public/upload/category/2018/09-18/c403f7f8bbea79902a30a186b1f7a722.png
             */

            private int id;
            private String title;
            private String image;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }
        }
    }

    @Override
    public String toString() {
        return "TestBean{" +
                "errcode=" + errcode +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
